package com.zh.mp.demo.exception;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class NotFoundException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    // 异常编码
    private Long code;
    // 异常自定义信息
    private String message;
}
